/*
 * @Descripttion: 商品接口
 * @version:
 * @Author: cxguo
 * @Date: 2019-08-02 15:03:05
 * @LastEditors: cxguo
 * @LastEditTime: 2019-12-11 14:03:19
 */
import axios from '@/utils/request'
const baseUrl = '/goods_sku'

export function listData(params) {
  return axios.request({
    url: `${baseUrl}/list`,
    method: 'post',
    data: params
  })
}

export function getPriceBySkuunit(params) {
  return axios.request({
    url: `${baseUrl}/getprice_by_skuunit`,
    method: 'post',
    data: params
  })
}

export function genGoodSkuCode(params) {
  return axios.request({
    url: `${baseUrl}/gen_good_sku_code`,
    method: 'post',
    data: params
  })
}

